package com.zzj.security.jwt.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName CaptchaController
 * @Description TODO
 * @Author zhijun zeng at 0:41 2020/5/18
 * @Version 1.0
 **/
@RestController
@RequestMapping("/captcha")
public class CaptchaController {

    @RequestMapping(value = "/getImage")
    public String getImage() throws InterruptedException {
        Thread.sleep(5000);
        return "Captcha Generating...";
    }
}
